package com.dgy.roomEval.service.impl;

import com.dgy.roomEval.domain.RoomEvalItem;
import com.dgy.roomEval.mapper.RoomEvalItemMapper;
import com.dgy.roomEval.service.IRoomEvalItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 问题答案Service业务层处理
 *
 * @author ccc
 * @date 2025-02-15
 */
@Service
public class RoomEvalItemServiceImpl implements IRoomEvalItemService
{
    @Autowired
    private RoomEvalItemMapper roomEvalItemMapper;

    /**
     * 新增问题答案
     *
     * @param roomEvalItemList 问题答案
     * @return 结果
     */
    @Override
    public int insertRoomEvalItemBatch(List<RoomEvalItem> roomEvalItemList)
    {
        return roomEvalItemMapper.insertRoomEvalItemBatch(roomEvalItemList);
    }

}
